package com.bdqn.S64.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/student")
public class StudentController {

    @GetMapping("/test")
    public String student(){
        return "I am student";
    }


    @GetMapping("add")
    public String add(){
        return "添加学生成功";
    }

    @GetMapping("del")
    public String del(){
        return "删除学生成功";
    }

    @GetMapping("update")
    public String update(){
        return "修改学生成功";
    }
}
